﻿using Magicodes.ExporterAndImporter.Core;
using System;

namespace NP.BPMReportPlatform.GC.Dto
{
    /// <summary>
    /// 小于最低起运量运输申请流程 出参
    /// </summary>
    public class GetXYZDQYLSQOutput
    {
        /// <summary>
        /// 申请单号
        /// </summary>
        [ExporterHeader(DisplayName = "申请单号")]
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public DateTime? CreateTime { get; set; }
        [ExporterHeader(DisplayName = "申请时间")]
        public string CreateTimeStr { get; set; }

        /// <summary>
        /// 申请人
        /// </summary>
        [ExporterHeader(DisplayName = "申请人")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 单据详情链接
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public string Url { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>        
        [ExporterHeader(DisplayName = "单据状态")]
        public string OrderStatus { get; set; }

        /// <summary>
        /// 交付运营专员
        /// </summary>
        [ExporterHeader(DisplayName = "交付运营专员")]
        public string JfyyzyName { get; set; }

        /// <summary>
        /// 要求到货日期
        /// </summary>
        [ExporterHeader(DisplayName = "要求到货日期")]
        public string RequestArrivalDate { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        [ExporterHeader(DisplayName = "商机号")]
        public string BusinessNo { get; set; }

        /// <summary>
        /// 商机名称
        /// </summary>
        [ExporterHeader(DisplayName = "商机名称")]
        public string BusinessName { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [ExporterHeader(DisplayName = "客户编码")]
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "客户名称")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 大客户编码
        /// </summary>
        [ExporterHeader(DisplayName = "大客户编码")]
        public string BigCustomerCode { get; set; }

        /// <summary>
        /// 大客户名称
        /// </summary>
        [ExporterHeader(DisplayName = "大客户名称")]
        public string BigCustomerName { get; set; }

        /// <summary>
        /// 销售部
        /// </summary>
        [ExporterHeader(DisplayName = "销售部")]
        public string XSBName { get; set; }

        /// <summary>
        /// 销售员
        /// </summary>
        [ExporterHeader(DisplayName = "销售员")]
        public string XSYName { get; set; }

        /// <summary>
        /// 成本中心
        /// </summary>
        [ExporterHeader(DisplayName = "成本中心")]
        public string CostCentre { get; set; }

        /// <summary>
        /// 成本中心名称
        /// </summary>
        [ExporterHeader(DisplayName = "成本中心名称")]
        public string CostCentreName { get; set; }

        /// <summary>
        /// 合计加急运输费用(元)
        /// </summary>
        [ExporterHeader(DisplayName = "合计运费(元)")]
        public string TotalCost { get; set; }

        /// <summary>
        /// 总重量(吨)
        /// </summary>
        [ExporterHeader(DisplayName = "总重量(吨)")]
        public string TotalWeight { get; set; }

        /// <summary>
        /// 申请理由
        /// </summary>
        [ExporterHeader(DisplayName = "申请理由")]
        public string ApplicationReason { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        [ExporterHeader(DisplayName = "序号")]
        public string No { get; set; }

        /// <summary>
        /// 送货地址
        /// </summary>
        [ExporterHeader(DisplayName = "送货地址")]
        public string DeliveryAddress { get; set; }

        /// <summary>
        /// 交货单号/销售凭证
        /// </summary>
        [ExporterHeader(DisplayName = "交货单号/销售凭证")]
        public string DeliveryNoteNo { get; set; }

        /// <summary>
        /// 工厂
        /// </summary>
        [ExporterHeader(DisplayName = "工厂")]
        public string Factory { get; set; }

        /// <summary>
        /// 出库重量（吨）
        /// </summary>
        [ExporterHeader(DisplayName = "出库重量（吨）")]
        public string OutboundWeight { get; set; }

        /// <summary>
        /// A-预估运费（元）
        /// </summary>
        [ExporterHeader(DisplayName = "A-预估运费（元）")]
        public string ExpeditedShippingAmount { get; set; }

        /// <summary>
        /// B-开票金额（元）
        /// </summary>
        [ExporterHeader(DisplayName = "B-开票金额（元）")]
        public string InvoiceAmount { get; set; }

        /// <summary>
        /// 运占比（A/B）
        /// </summary>
        [ExporterHeader(DisplayName = "运占比（A/B）")]
        public string TransportRatio { get; set; }
    }
}
